package tech.aistar.util;

import net.sf.jsqlparser.expression.StringValue;

import java.util.concurrent.ThreadLocalRandom;

/**
 * 随机6位
 */
public class Random_util {
    public static  StringBuffer  getRandom(){
        ThreadLocalRandom random =  ThreadLocalRandom.current();
        StringBuffer  stringBuilder =  new StringBuffer (6);
        for(int i=0;i<6;i++){
            stringBuilder.append(random.nextInt(10));
        }

        return stringBuilder;

    }
}
